package com.anlogic.sdk.bootimage.model.options;

public enum EncryptionType implements IBootgenOption {
	NONE, AES, SM4;

	public String getId() {
		return toString().toLowerCase();
	}

	public String getName() {
		return toString().toLowerCase();
	}
	
	public int getLength() {
		if (this.equals(AES)) {
			return 256;
		} else if (this.equals(SM4)) {
			return 128;
		}
		return 0;
	}
}
